package com.simple.framework.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description 文件配置
 * @Author xiaoke
 * @Date 2024/8/22 20:15
 * @Version 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "file")
@Data
public class FileConfig {

    /**
     * 文件访问地址
     */
    private String baseHost;

    /**
     * 文件上传路径
     */
    private String basePath;
}
